﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _8Group.MES.IAppService.Issues.Dtos
{
    public class CreateIssueDto
    {
        /// <summary>
        /// 领料单编号
        /// </summary>
        public string IssueCode { get; set; }=string.Empty;

        /// <summary>
        /// 领料单名称
        /// </summary>
        public string IssueName { get; set; } = string.Empty;

        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime IssueDate { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WarehouseCode { get; set; } = string.Empty;

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; } = string.Empty;

        /// <summary>
        /// 库区ID
        /// </summary>
        public int LocationId { get; set; }

        /// <summary>
        /// 库区编号
        /// </summary>
        public string LocationCode { get; set; } = string.Empty;

        /// <summary>
        /// 库区名称
        /// </summary>
        public string LocationName { get; set; } = string.Empty;

        /// <summary>
        /// 库位ID
        /// </summary>
        public int AreaId { get; set; }

        /// <summary>
        /// 库位编号
        /// </summary>
        public string AreaCode { get; set; } = string.Empty;

        /// <summary>
        /// 库位名称
        /// </summary>
        public string AreaName { get; set; } = string.Empty;

        /// <summary>
        /// 单据状态
        /// </summary>
        public string Status { get; set; } = string.Empty;

        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int WorkorderId { get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        public string WorkorderCode { get; set; } = string.Empty;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }
}
